Summary of Data and Code for "Hazardous Waste and Home Values: An Analysis of Treatment and Disposal Sites in the U.S."
By Dennis Guignet and Christoph Nolte
Last revised: May 30, 2023

This "ReadMe" file briefly documents the data and code that were uploaded to DATAVERSE and how the code fits together. 
Note that the parcel and transaction data from Zillow's ZTRAX program and other sources are restricted/proprietary. 
Details for accessing those data can be found in the main paper.  

The following data and code corresponding to this paper were uploaded to DATAVERSE. 

"TSD_and_Corrective_Actions_FINAL.dta" - This is the cleaned Stata dataset of Treatment, Storage, and Disposal Facilities (TSDFs). 
When applicable, it also includes variables pertaining to the Corrective Actions that occurred at a subset of these 
facilities. A companion variable dictionary named "TSD_and_CA_FINAL_DataDictionary.xlsx" is also provided. Additional 
details on the primary variables from RCRAInfo can be found at https://rcrainfo.epa.gov/rcrainfo-help/application/publicHelp/index.htm. 
Note that this dataset includes the entire U.S.  To draw focus to the 2,389 TSDFs in the contiguous U.S., which is the 
focus of the main paper, you must drop the 45 observations in Alaska, Guam, Hawaii, Puerto Rico, or the Virgin Islands. 
The code to do so in Stata is:
drop if Location_State=="AK"|Location_State=="GU"|Location_State=="HI"|Location_State=="PR"|Location_State=="VI"

"analysis_MasterDofile_RCRA_Hedonics.do" - This is the Master analysis code file that calls in the code pertaining to 
different aspects of the final analysis. Refer to this Stata do-file code to understand the broader purpose and structure 
for code pertaining to different aspects of the analysis, including descriptive statistics, Coarsened Exact Matching (CEM) 
procedures, the hedonic price regressions, etc. Note that the broader analysis is divided into seven steps, each coded in 
a separate Stata do-file.  Details are provided in the comments within this "Master" do-file. 

"Full_Analysis_Log_2023_05_26_FINAL.pdf" - This is a Stata log file documenting the entire analysis (i.e., running the 
above "Master" do-file and the corresponding do-files pertaining to different aspects of the analysis all the way through). 
The results and estimates documented in this log file are used to populate the tables and figures in the main paper and 
appendices.  